﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;


namespace ServerExplorer.SharePointConnections.SharepointSiteInfo.Entities
{
    [Serializable]
    public class SubWebs
    {              
        private List<Web> _webs;

        private string _internalName = "SubSites";

        private string _internalColor = System.Drawing.Color.Green.Name;

        [XmlAttribute("Color")]
        public string InternalColor
        {
            get { return _internalColor; }
            set
            {
                //Do Nothing 
            }
        }

        [XmlAttribute("Name")]
        public string InternalName
        {
            get { return _internalName; }
            set
            {
                //Do Nothing 
            }
        }

        [XmlElement("SubWeb")]
        public List<Web> Webs
        {
            get { return _webs; }
            set { _webs = value; }
        }

        public SubWebs()
        {
            Webs = new List<Web>();
        }
    }
}
